<title>后台管理员</title>

<div class="layui-card layadmin-header">
    <div class="layui-breadcrumb" lay-filter="breadcrumb">
        <a lay-href="">管理硬件列表</a>
        <a><cite>失效设备列表</cite></a>
    </div>
</div>

<div class="layui-fluid">
    <div class="layui-card">
        <div class="layui-form layui-card-header layuiadmin-card-header-auto" lay-filter="layadmin-equipment-formlist">
            <div class="layui-form-item">
                <div class="layui-inline">
                    <label class="layui-form-label">设备名称</label>
                    <div class="layui-input-block">
                        <input type="text" name="name" placeholder="请输入" autocomplete="off" class="layui-input">
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">设备类型</label>
                    <div class="layui-input-block">
                        <select name="type">
                          <option value="0">请选择</option>
                          <option value="1">PC</option>
                          <option value="2">显示器</option>
                          <option value="3">电源</option>
                        </select>
                    </div>
                </div>
                <div class="layui-inline">
                    <button class="layui-btn layuiadmin-btn-admin" lay-submit lay-filter="LAY-equipment-back-search">
                      <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i>
                    </button>
                </div>
            </div>
        </div>

        <div class="layui-card-body">

            <div style="padding-bottom: 10px;">
                <button class="layui-btn layuiadmin-btn-admin" data-type="batchdel">删除</button>
                <button class="layui-btn layuiadmin-btn-admin" data-type="activate">激活</button>
            </div>

            <table id="LAY-equipment-back-manage" lay-filter="LAY-equipment-back-manage"></table>

            <script type="text/html" id="table-equipment-admin">
                <a class="layui-btn layui-btn-normal layui-btn-xs" lay-event="activate">
                    <i class="layui-icon layui-icon-edit"></i>激活
                </a>
                <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">
                    <i class="layui-icon layui-icon-delete"></i>删除
                </a>
            </script>

        </div>
    </div>
</div>

<script>
    layui.use('invalidequipment', layui.factory('invalidequipment'));
</script>